package com.project.user.action;

import com.opensymphony.xwork2.ActionSupport;
import com.project.base.service.impl.BaseServiceImpl;
import com.project.user.entity.User;
import com.project.user.service.UserService;

public class GroupAction extends ActionSupport{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6728894160127600152L;
	
	
	public String add() {
		userService = (UserService) new BaseServiceImpl<User, String>();
	    return "add-success";
	}
	
	
	private UserService userService;
	
	private User user;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public UserService getUserService() {
		return userService;
	}

	public void setUserService(UserService userService) {
		this.userService = userService;
	}
	
	
	
}
